]> shimmer.witbreuk.eu Git - UltimateKEYS.git/blobdiff - autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk
Add files via upload
[UltimateKEYS.git] / autohotkey / UltimateKEYS (for AutoHotkey v1.1).ahk
index 9c96777a96fdb3d3557dec62e67e3672a4f87677..e858aa0155929bddaa034d74a13165a79ac0e0fe 100644 (file)
@@ -1,25 +1,23 @@
 #requires AutoHotkey v1.1
 
 #requires AutoHotkey v1.1
 
-; UltimateKEYS (for AutoHotkey v1.1).ahk - 2023-12-28
+; UltimateKEYS (for AutoHotkey v1.1).ahk - 2024-06-04
 
 
-; Website :  www.ultimatekeys.info (pieter-degroote.github.io/UltimateKEYS/)
+; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
 
-; License :  GNU General Public License Version 3
+; GitHub :   https://github.com/pieter-degroote/UltimateKEYS
 
 
-; GitHub :   github.com/pieter-degroote/UltimateKEYS
+; License :  GNU General Public License Version 3
 
 
 
 
-; Requirements :
+; Configuration :
 
 ; Keyboard layout (on Windows) :  US QWERTY
 
 
 ; Keyboard layout (on Windows) :  US QWERTY
 
-; AutoHotkey v1.1 (www.autohotkey.com)
-
 
 
 #NoEnv          ; avoids checking empty variables to see if they are environment variables
 
 
 #NoEnv          ; avoids checking empty variables to see if they are environment variables
-ListLines Off   ; omits recently executed lines from history (for privacy and security)
 #KeyHistory 0   ; disables the key history (for privacy and security)
 #KeyHistory 0   ; disables the key history (for privacy and security)
+ListLines Off   ; omits recently executed lines from history (for privacy and security)
 
 SendMode Input  ; optimizes for faster and more reliable input
 
 
 SendMode Input  ; optimizes for faster and more reliable input
 
@@ -809,14 +807,19 @@ cmpSymbols.item["c"] := "{u+2105}"  ; (℅) care of
 cmpSymbols.item["d"] := "{u+22c4}"  ; (⋄) diamond operator
 cmpSymbols.item["e"] := "{u+212e}"  ; (℮) estimated symbol
 cmpSymbols.item["f"] := "{u+2640}"  ; (♀) female sign (Venus)
 cmpSymbols.item["d"] := "{u+22c4}"  ; (⋄) diamond operator
 cmpSymbols.item["e"] := "{u+212e}"  ; (℮) estimated symbol
 cmpSymbols.item["f"] := "{u+2640}"  ; (♀) female sign (Venus)
-cmpSymbols.item["h"] := "{u+2126}"  ; (Ω) ohm sign (backwards compatibility)
+cmpSymbols.item["h"] := "{u+2302}"  ; (⌂) house
+cmpSymbols.item["H"] := "{u+2126}"  ; (Ω) ohm sign (backwards compatibility)
 cmpSymbols.item["i"] := "{u+2300}"  ; (⌀) diameter sign
 cmpSymbols.item["l"] := "{u+2113}"  ; (ℓ) script small l
 cmpSymbols.item["L"] := "{u+2112}"  ; (ℒ) Laplace transform
 cmpSymbols.item["m"] := "{u+2642}"  ; (♂) male sign (Mars)
 cmpSymbols.item["M"] := "{u+2120}"  ; (℠) service mark
 cmpSymbols.item["i"] := "{u+2300}"  ; (⌀) diameter sign
 cmpSymbols.item["l"] := "{u+2113}"  ; (ℓ) script small l
 cmpSymbols.item["L"] := "{u+2112}"  ; (ℒ) Laplace transform
 cmpSymbols.item["m"] := "{u+2642}"  ; (♂) male sign (Mars)
 cmpSymbols.item["M"] := "{u+2120}"  ; (℠) service mark
-cmpSymbols.item["r"] := "{u+211e}"  ; (℞) prescription take (Recipere)
-cmpSymbols.item["R"] := "{u+211e}"  ; (℞) prescription take (Recipere)
+cmpSymbols.item["p"] := "{u+211e}"  ; (℞) prescription take (Recipere)
+cmpSymbols.item["P"] := "{u+211e}"  ; (℞) prescription take (Recipere)
+cmpSymbols.item["r"] := "{u+211f}"  ; (℟) response (liturgy)
+cmpSymbols.item["R"] := "{u+211f}"  ; (℟) response (liturgy)
+cmpSymbols.item["v"] := "{u+2123}"  ; (℣) versicle (liturgy)
+cmpSymbols.item["V"] := "{u+2123}"  ; (℣) versicle (liturgy)
 cmpSymbols.item["x"] := "{u+203b}"  ; (※) reference mark
 cmpSymbols.item["2"] := "{u+266b}"  ; (♫) beamed eighth notes
 cmpSymbols.item["3"] := "{u+2042}"  ; (⁂) asterism
 cmpSymbols.item["x"] := "{u+203b}"  ; (※) reference mark
 cmpSymbols.item["2"] := "{u+266b}"  ; (♫) beamed eighth notes
 cmpSymbols.item["3"] := "{u+2042}"  ; (⁂) asterism
@@ -878,6 +881,7 @@ cmpMathSymbols.item["4"] := "{u+2237}"  ; (∷) proportion sign
 cmpMathSymbols.item["6"] := "{u+2220}"  ; (∠) angle symbol
 cmpMathSymbols.item["9"] := "{u+221f}"  ; (∟) right angle
 cmpMathSymbols.item["0"] := "{u+2221}"  ; (∡) measured angle
 cmpMathSymbols.item["6"] := "{u+2220}"  ; (∠) angle symbol
 cmpMathSymbols.item["9"] := "{u+221f}"  ; (∟) right angle
 cmpMathSymbols.item["0"] := "{u+2221}"  ; (∡) measured angle
+cmpMathSymbols.item[","] := "{u+2219}"  ; (∙) bullet operator
 cmpMathSymbols.item["+"] := "{u+2295}"  ; (⊕) circled plus
 cmpMathSymbols.item["-"] := "{u+2296}"  ; (⊖) circled minus
 cmpMathSymbols.item["*"] := "{u+2297}"  ; (⊗) circled times
 cmpMathSymbols.item["+"] := "{u+2295}"  ; (⊕) circled plus
 cmpMathSymbols.item["-"] := "{u+2296}"  ; (⊖) circled minus
 cmpMathSymbols.item["*"] := "{u+2297}"  ; (⊗) circled times
@@ -924,6 +928,7 @@ cmpCapitalT.item["H"] := "{u+00de}"   ; (Þ) capital letter thorn
 
 cmpDigitEight := ComObjCreate("Scripting.Dictionary")
 cmpCapitalP := ComObjCreate("Scripting.Dictionary")
 
 cmpDigitEight := ComObjCreate("Scripting.Dictionary")
 cmpCapitalP := ComObjCreate("Scripting.Dictionary")
+cmpVerticalLine := ComObjCreate("Scripting.Dictionary")
 cmpAsterisk := ComObjCreate("Scripting.Dictionary")
 cmpExclam := ComObjCreate("Scripting.Dictionary")
 cmpQuestion := ComObjCreate("Scripting.Dictionary")
 cmpAsterisk := ComObjCreate("Scripting.Dictionary")
 cmpExclam := ComObjCreate("Scripting.Dictionary")
 cmpQuestion := ComObjCreate("Scripting.Dictionary")
@@ -948,6 +953,7 @@ cmpSmallR.item["4"] := "{u+221c}"        ; (∜) fourth root
 cmpSymbols.item["o"] := "{u+00a7}"       ; (§) section sign
 cmpCapitalS.item["o"] := "{u+00a7}"      ; (§) section sign
 cmpSmallT.item["m"] := "{u+2122}"        ; (™) trademark symbol
 cmpSymbols.item["o"] := "{u+00a7}"       ; (§) section sign
 cmpCapitalS.item["o"] := "{u+00a7}"      ; (§) section sign
 cmpSmallT.item["m"] := "{u+2122}"        ; (™) trademark symbol
+cmpVerticalLine.item["|"] := "{u+2016}"  ; (‖) double vertical line
 cmpAcuteAccent.item["1"] := "{u+2032}"   ; (′) prime
 cmpAcuteAccent.item["2"] := "{u+2033}"   ; (″) double prime
 cmpAcuteAccent.item["3"] := "{u+2034}"   ; (‴) triple prime
 cmpAcuteAccent.item["1"] := "{u+2032}"   ; (′) prime
 cmpAcuteAccent.item["2"] := "{u+2033}"   ; (″) double prime
 cmpAcuteAccent.item["3"] := "{u+2034}"   ; (‴) triple prime
@@ -956,8 +962,9 @@ cmpAsterisk.item["*"] := "{u+00d7}"      ; (×) multiplication sign
 cmpStroke.item["/"] := "{u+00f7}"        ; (÷) division sign
 cmpAsterisk.item["o"] := "{u+00b0}"      ; (°) degree sign
 cmpRingAbove.item["*"] := "{u+00b0}"     ; (°) degree sign
 cmpStroke.item["/"] := "{u+00f7}"        ; (÷) division sign
 cmpAsterisk.item["o"] := "{u+00b0}"      ; (°) degree sign
 cmpRingAbove.item["*"] := "{u+00b0}"     ; (°) degree sign
-cmpDotAbove.item["."] := "{u+00b7}"      ; (·) middle dot
+cmpDotAbove.item["-"] := "{u+00b7}"      ; (·) middle dot
 cmpDotAbove.item["3"] := "{u+2026}"      ; (…) horizontal ellipsis
 cmpDotAbove.item["3"] := "{u+2026}"      ; (…) horizontal ellipsis
+cmpDotAbove.item["."] := "{u+2026}"      ; (…) horizontal ellipsis
 cmpArrow.item["-"] := "{u+00aa}"         ; (ª) feminine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpRingAbove.item["-"] := "{u+00ba}"     ; (º) masculine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpExclam.item["!"] := "{u+00a1}"        ; (¡) inverted exclamation mark
 cmpArrow.item["-"] := "{u+00aa}"         ; (ª) feminine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpRingAbove.item["-"] := "{u+00ba}"     ; (º) masculine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpExclam.item["!"] := "{u+00a1}"        ; (¡) inverted exclamation mark
@@ -999,6 +1006,10 @@ cmpSemicolon.item["i"] := "{u+25b5}"  ; (▵) white up-pointing small triangle
 cmpSemicolon.item["j"] := "{u+25c3}"  ; (◃) white left-pointing small triangle
 cmpSemicolon.item["k"] := "{u+25bf}"  ; (▿) white down-pointing small triangle
 cmpSemicolon.item["l"] := "{u+25b9}"  ; (▹) white right-pointing small triangle
 cmpSemicolon.item["j"] := "{u+25c3}"  ; (◃) white left-pointing small triangle
 cmpSemicolon.item["k"] := "{u+25bf}"  ; (▿) white down-pointing small triangle
 cmpSemicolon.item["l"] := "{u+25b9}"  ; (▹) white right-pointing small triangle
+cmpSemicolon.item["z"] := "{u+25a0}"  ; (■) black square
+cmpSemicolon.item["x"] := "{u+25a1}"  ; (□) white square
+cmpSemicolon.item["c"] := "{u+25c6}"  ; (◆) black diamond
+cmpSemicolon.item["v"] := "{u+25c7}"  ; (◇) white diamond
 cmpSemicolon.item[";"] := "{u+2022}"  ; (•) bullet
 
 
 cmpSemicolon.item[";"] := "{u+2022}"  ; (•) bullet
 
 
@@ -1497,28 +1508,28 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!z::
   if GetKeyState("CapsLock", "T")
 
 >!z::
   if GetKeyState("CapsLock", "T")
-    Send {u+00c0}  ; (À) A with grave
+    Send {u+00c1}  ; (Á) A with acute
   else
   else
-    Send {u+00e0}  ; (à) a with grave
+    Send {u+00e1}  ; (á) a with acute
   return
 >!+z::
   if GetKeyState("CapsLock", "T")
   return
 >!+z::
   if GetKeyState("CapsLock", "T")
-    Send {u+00e0}  ; (à) a with grave
+    Send {u+00e1}  ; (á) a with acute
   else
   else
-    Send {u+00c0}  ; (À) A with grave
+    Send {u+00c1}  ; (Á) A with acute
   return
 
 >!x::
   if GetKeyState("CapsLock", "T")
   return
 
 >!x::
   if GetKeyState("CapsLock", "T")
-    Send {u+00c1}  ; (Á) A with acute
+    Send {u+00c0}  ; (À) A with grave
   else
   else
-    Send {u+00e1}  ; (á) a with acute
+    Send {u+00e0}  ; (à) a with grave
   return
 >!+x::
   if GetKeyState("CapsLock", "T")
   return
 >!+x::
   if GetKeyState("CapsLock", "T")
-    Send {u+00e1}  ; (á) a with acute
+    Send {u+00e0}  ; (à) a with grave
   else
   else
-    Send {u+00c1}  ; (Á) A with acute
+    Send {u+00c0}  ; (À) A with grave
   return
 
 >!d::
   return
 
 >!d::
@@ -1562,28 +1573,28 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!f::
   if GetKeyState("CapsLock", "T")
 
 >!f::
   if GetKeyState("CapsLock", "T")
-    Send {u+00c8}  ; (È) E with grave
+    Send {u+00c9}  ; (É) E with acute
   else
   else
-    Send {u+00e8}  ; (è) e with grave
+    Send {u+00e9}  ; (é) e with acute
   return
 >!+f::
   if GetKeyState("CapsLock", "T")
   return
 >!+f::
   if GetKeyState("CapsLock", "T")
-    Send {u+00e8}  ; (è) e with grave
+    Send {u+00e9}  ; (é) e with acute
   else
   else
-    Send {u+00c8}  ; (È) E with grave
+    Send {u+00c9}  ; (É) E with acute
   return
 
 >!g::
   if GetKeyState("CapsLock", "T")
   return
 
 >!g::
   if GetKeyState("CapsLock", "T")
-    Send {u+00c9}  ; (É) E with acute
+    Send {u+00c8}  ; (È) E with grave
   else
   else
-    Send {u+00e9}  ; (é) e with acute
+    Send {u+00e8}  ; (è) e with grave
   return
 >!+g::
   if GetKeyState("CapsLock", "T")
   return
 >!+g::
   if GetKeyState("CapsLock", "T")
-    Send {u+00e9}  ; (é) e with acute
+    Send {u+00e8}  ; (è) e with grave
   else
   else
-    Send {u+00c9}  ; (É) E with acute
+    Send {u+00c8}  ; (È) E with grave
   return
 
 >!r::
   return
 
 >!r::
@@ -1614,28 +1625,28 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!v::
   if GetKeyState("CapsLock", "T")
 
 >!v::
   if GetKeyState("CapsLock", "T")
-    Send {u+00cc}  ; (Ì) I with grave
+    Send {u+00cd}  ; (Í) I with acute
   else
   else
-    Send {u+00ec}  ; (ì) i with grave
+    Send {u+00ed}  ; (í) i with acute
   return
 >!+v::
   if GetKeyState("CapsLock", "T")
   return
 >!+v::
   if GetKeyState("CapsLock", "T")
-    Send {u+00ec}  ; (ì) i with grave
+    Send {u+00ed}  ; (í) i with acute
   else
   else
-    Send {u+00cc}  ; (Ì) I with grave
+    Send {u+00cd}  ; (Í) I with acute
   return
 
 >!b::
   if GetKeyState("CapsLock", "T")
   return
 
 >!b::
   if GetKeyState("CapsLock", "T")
-    Send {u+00cd}  ; (Í) I with acute
+    Send {u+00cc}  ; (Ì) I with grave
   else
   else
-    Send {u+00ed}  ; (í) i with acute
+    Send {u+00ec}  ; (ì) i with grave
   return
 >!+b::
   if GetKeyState("CapsLock", "T")
   return
 >!+b::
   if GetKeyState("CapsLock", "T")
-    Send {u+00ed}  ; (í) i with acute
+    Send {u+00ec}  ; (ì) i with grave
   else
   else
-    Send {u+00cd}  ; (Í) I with acute
+    Send {u+00cc}  ; (Ì) I with grave
   return
 
 >!t::
   return
 
 >!t::
@@ -1705,28 +1716,28 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!,::
   if GetKeyState("CapsLock", "T")
 
 >!,::
   if GetKeyState("CapsLock", "T")
-    Send {u+00d2}  ; (Ò) O with grave
+    Send {u+00d3}  ; (Ó) O with acute
   else
   else
-    Send {u+00f2}  ; (ò) o with grave
+    Send {u+00f3}  ; (ó) o with acute
   return
 >!<::
   if GetKeyState("CapsLock", "T")
   return
 >!<::
   if GetKeyState("CapsLock", "T")
-    Send {u+00f2}  ; (ò) o with grave
+    Send {u+00f3}  ; (ó) o with acute
   else
   else
-    Send {u+00d2}  ; (Ò) O with grave
+    Send {u+00d3}  ; (Ó) O with acute
   return
 
 >!.::
   if GetKeyState("CapsLock", "T")
   return
 
 >!.::
   if GetKeyState("CapsLock", "T")
-    Send {u+00d3}  ; (Ó) O with acute
+    Send {u+00d2}  ; (Ò) O with grave
   else
   else
-    Send {u+00f3}  ; (ó) o with acute
+    Send {u+00f2}  ; (ò) o with grave
   return
 >!>::
   if GetKeyState("CapsLock", "T")
   return
 >!>::
   if GetKeyState("CapsLock", "T")
-    Send {u+00f3}  ; (ó) o with acute
+    Send {u+00f2}  ; (ò) o with grave
   else
   else
-    Send {u+00d3}  ; (Ó) O with acute
+    Send {u+00d2}  ; (Ò) O with grave
   return
 
 >!p::
   return
 
 >!p::
@@ -1770,28 +1781,28 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!h::
   if GetKeyState("CapsLock", "T")
 
 >!h::
   if GetKeyState("CapsLock", "T")
-    Send {u+00d9}  ; (Ù) U with grave
+    Send {u+00da}  ; (Ú) U with acute
   else
   else
-    Send {u+00f9}  ; (ù) u with grave
+    Send {u+00fa}  ; (ú) u with acute
   return
 >!+h::
   if GetKeyState("CapsLock", "T")
   return
 >!+h::
   if GetKeyState("CapsLock", "T")
-    Send {u+00f9}  ; (ù) u with grave
+    Send {u+00fa}  ; (ú) u with acute
   else
   else
-    Send {u+00d9}  ; (Ù) U with grave
+    Send {u+00da}  ; (Ú) U with acute
   return
 
 >!j::
   if GetKeyState("CapsLock", "T")
   return
 
 >!j::
   if GetKeyState("CapsLock", "T")
-    Send {u+00da}  ; (Ú) U with acute
+    Send {u+00d9}  ; (Ù) U with grave
   else
   else
-    Send {u+00fa}  ; (ú) u with acute
+    Send {u+00f9}  ; (ù) u with grave
   return
 >!+j::
   if GetKeyState("CapsLock", "T")
   return
 >!+j::
   if GetKeyState("CapsLock", "T")
-    Send {u+00fa}  ; (ú) u with acute
+    Send {u+00f9}  ; (ù) u with grave
   else
   else
-    Send {u+00da}  ; (Ú) U with acute
+    Send {u+00d9}  ; (Ù) U with grave
   return
 
 >!y::
   return
 
 >!y::
@@ -1864,7 +1875,7 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 >!_::Send {u+2014}   ; (—) em dash
 
 >!=::Send {u+00d7}   ; (×) multiplication sign
 >!_::Send {u+2014}   ; (—) em dash
 
 >!=::Send {u+00d7}   ; (×) multiplication sign
->!+=::Send {u+00f7}  ; (÷) division sign
+>!+::Send {u+00f7}   ; (÷) division sign
 
 >![::Send {u+00ab}   ; («) left-pointing double angle quotation mark
 >!{::Send {u+2039}   ; (‹) left-pointing single angle quotation mark
 
 >![::Send {u+00ab}   ; («) left-pointing double angle quotation mark
 >!{::Send {u+2039}   ; (‹) left-pointing single angle quotation mark
@@ -1875,17 +1886,17 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 >!;::Send {u+00b0}   ; (°) degree sign
 >!+;::Send {u+00b7}  ; (·) middle dot
 
 >!;::Send {u+00b0}   ; (°) degree sign
 >!+;::Send {u+00b7}  ; (·) middle dot
 
->!'::Send {u+2020}   ; (†) dagger
->!"::Send {u+2021}   ; (‡) double dagger
+>!'::Send {u+266a}   ; (♪) eighth note
+>!"::Send {u+266b}   ; (♫) beamed eighth notes
 
 >!\::Send {u+2002}   ;     en space
 >!|::Send {u+2003}   ;     em space
 
 >!/::Send {u+00bf}   ; (¿) inverted question mark
 
 >!\::Send {u+2002}   ;     en space
 >!|::Send {u+2003}   ;     em space
 
 >!/::Send {u+00bf}   ; (¿) inverted question mark
->!?::Send {u+2026}   ; (…) horizontal ellipsis
+>!?::Send {u+2022}   ; (•) bullet
 
 
->!space::Send {u+00a0}   ;     non-breaking space (NBSP)
->!+space::Send {u+2022}  ; (•) bullet
+>!space::Send {u+00a0}   ; non-breaking space (NBSP)
+>!+space::Send {u+00a0}  ; non-breaking space (NBSP)
 
 
 ; Configuration :  Compose Key Selector
 
 
 ; Configuration :  Compose Key Selector
@@ -1975,6 +1986,8 @@ cmpSmallN.item["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
     Send % cmpCapitalT.item[keyB]
   else if (keyA == "P")
     Send % cmpCapitalP.item[keyB]
     Send % cmpCapitalT.item[keyB]
   else if (keyA == "P")
     Send % cmpCapitalP.item[keyB]
+  else if (keyA == "|")
+    Send % cmpVerticalLine.item[keyB]
   else if (keyA == "*")
     Send % cmpAsterisk.item[keyB]
   else if (keyA == "!")
   else if (keyA == "*")
     Send % cmpAsterisk.item[keyB]
   else if (keyA == "!")